import Vue from 'vue'
import App from './App'
import store from './store'
import Utils from './common/utils'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/reset.css'
import 'element-ui/lib/theme-chalk/index.css'
import pluginsComponents from './common/components'//引入全局组件
import 'common/scss/common.scss'//引入全局公共样式
import 'common/scss/pubilce.scss'//引入全局公共样式
import api from './common/api'//获取api
Vue.prototype.$http = api//	全局注册api
Vue.prototype.$store = store
Vue.config.productionTip = false
Vue.use(pluginsComponents)//引入全局组件
App.mpType = 'app'

const app = new Vue({
	...App
})


Vue.use(ElementUI)
Vue.prototype.Utils = Utils

app.$mount()
